package data.dao;

import pojo.Contacts;

import java.util.List;

/**
 * 通讯录持久层接口
 */
public interface ContactsDaoApi {

    public void save(List<Contacts> contactsList);

    public List<Contacts> findAll();

    public Contacts findByEmail(String email);

    public Contacts findByName(String name);

    public Contacts findByPhone(String phone);

}
